package com.lordjoe.sudoku;

import com.sun.istack.internal.*;

/**
 * com.lordjoe.sudoku.ConstraintType
 * three types of constraint - column, row and box
 * User: Steve
 * Date: 4/7/12
 */
public enum ConstraintType {
    Column(0),Row(1),Box(2);
    public static final ConstraintType[] EMPTY_ARRAY = {};

    private final int m_Index;

    ConstraintType(final int pIndex) {
        m_Index = pIndex;
    }

    public int getIndex() {
        return m_Index;
    }
}
